package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.SdApt;
import com.san.hkhospital.entity.SdAptExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:SdAptMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface SdAptMapper {
    long countByExample(SdAptExample example);

    int deleteByExample(SdAptExample example);

    int deleteByPrimaryKey(@Param("sdId") Integer sdId, @Param("aptId") Integer aptId);

    int insert(SdApt record);

    int insertSelective(SdApt record);

    List<SdApt> selectByExample(SdAptExample example);

    int updateByExampleSelective(@Param("record") SdApt record, @Param("example") SdAptExample example);

    int updateByExample(@Param("record") SdApt record, @Param("example") SdAptExample example);
}